LassoScript Utility
Basics Browse Detail

[Duration->Week]

Tag Link [Duration->Week] Category Date
Type Member Source Available No
Support Preferred Version 6.0
Change Unchanged Data Source Any
Output Type Integer Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0

Description

[Duration->Week] returns the integer number of weeks in a specified duration. The specified duration must first be cast using the [Duration] tag before it can be used.

Syntax

[(Duration)->Week]

Parameters

No Parameters Required.

Examples

To return the number of weeks in a duration:

The following example returns the integer number of weeks in a duration of 720 hours (720:00:00).

[Var:'MyDuration'=(Duration:'720:00:00')]
[$MyDuration->Week]

4